package com.ruoyi.crm.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同管理对象 tb_contract
 *
 * @author ruoyi
 * @date 2022-06-07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Contract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合同id */
    private String id;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String contractNo;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String name;

    /** 意向学科 */
    @Excel(name = "意向学科")
    private String subject;

    /** 活动id */
    @Excel(name = "活动id")
    private Long activityId;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String activityName;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String channel;

    /** 状态(待审核1，已通过2，已驳回3 全部完成4) */
    @Excel(name = "状态(待审核1，已通过2，已驳回3 全部完成4)")
    private String status;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long deptId;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 订单价格 */
    @Excel(name = "订单价格")
    private Float contractOrder;

    /** 折扣类型 */
    @Excel(name = "折扣类型")
    private String discountType;

    /** 课程价格 */
    @Excel(name = "课程价格")
    private Float coursePrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String processInstanceId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long businessId;
}
